<% present entry do |entry_presenter| %>
  <div class="feedbin--wrap">
    <p class="feedbin--content-text"><%= entry_presenter.tweet_text(entry.tweet.main_tweet, false, invisible_tag_attrs: "") %></p>
    <% if entry_presenter.quoted_status? %>
      <blockquote class="feedbin--quoted">
        <p>
          <a href="<%= entry_presenter.tweet_user_url(entry_presenter.quoted_status) %>">
            <strong class="feedbin--name"><%= entry_presenter.tweet_name(entry_presenter.quoted_status) %></strong>
            <span class="feedbin--screen-name"><%= entry_presenter.tweet_screen_name(entry_presenter.quoted_status) %></span>
          </a>
        </p>
        <p class="feedbin--content-text"><%= entry_presenter.tweet_text(entry_presenter.quoted_status, false, invisible_tag_attrs: "") %></p>
      </blockquote>
    <% end %>
    <% if entry.tweet.retweeted_status? %>
      <div class="feedbin--meta-wrap">
        <p class="feedbin--meta">
          <a href="<%= entry.tweet.uri.to_s %>">
            <small><%= entry_presenter.tweet_retweeted_message %></small>
          </a>
        </p>
      </div>
    <% end %>
    <% entry_presenter.tweet_media.each do |media| %>
      <p class="feedbin--media-wrap">
        <% if entry_presenter.tweet_video?(media) %>
          <%= entry_presenter.tweet_video(media) %>
        <% else %>
          <%= link_to media.media_url_https.to_s + ":4096x4096" do %>
            <%= image_tag media.media_url_https.to_s + ":large" %>
          <% end %>
        <% end %>
      </p>
    <% end %>
    <% entry_presenter.tweet_urls.each do |url| %>
      <%= render partial: "shared/link_embed_api", locals: {url: url.expanded_url, entry: entry} %>
    <% end %>
  </div>
<% end %>